Use PESetParameterValueInfo to set information about the values which can be stored in a specified parameter field. For example, it establishes whether fields are editable, nullable, or can have multiple values, etc.
BOOL CRPE_API PESetParameterValueInfo(
short printJob,
const char FAR *parameterFieldName,
const char FAR *reportname,
PEParameterValueInfo FAR *valueInfo );
Specifies the print job for which you want to set parameter value information. | |
Specifies a pointer to the string containing the parameter field name. | |
Specifies a pointer to the string containing the report name. See Remarks below. | |
Specifies a pointer to PEParameterValueInfo, which contains the parameter value information. |
Regarding parameter reportName:
Declare Function PESetParameterValueInfo Lib "crpe32.dll" ( _
ByVal printJob As Integer, ByVal parameterFieldName As String, _
ByVal reportName As String, valueInfo As PEParameterValueInfo ) As Integer
function PESetParameterValueInfo (
printJob: smallint;
const parameterFieldName: PChar;
const reportName: PChar;
var valueInfo: PEParameterValueInfo
): BOOL stdcall;
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |